cmake_minimum_required(VERSION 3.19)
project(ThreadPoolTest)

set(CMAKE_CXX_STANDARD 11)
set(SOURCE_FILES main.cpp)

include_directories( ThreadPoolTest )

add_library(easylogging easylogging++.cc)
add_library(thread_pool thread_pool.cpp)
add_executable(ThreadPoolTest main.cpp)

target_link_libraries(
        ThreadPoolTest
        thread_pool
        pthread
        easylogging
)
